package com.hw.springcloud.service.Impl;

import cn.hutool.core.lang.UUID;
import com.hw.springcloud.service.PaymentNacosService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @Classname: PaymentNacosServiceImpl
 * @Description: 描述
 * @Date: 2021/12/9
 * @Author: HuWei
 */
@Service
public class PaymentNacosServiceImpl implements PaymentNacosService {

    @Value("${server.port}")
    private String serverPort;

    @Override
    public String nacosLinkTest() {
        String uuid = UUID.fastUUID().toString();
        return "Nacos 链接成功,流水号:"+uuid+"端口:"+serverPort;
    }
}
